<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/window/window" xid="window" design="device:mobile">  
  <div component="$UI/system/components/justep/model/model" xid="model" onLoad="modelLoad" style="height:auto;left:249px;top:58px;"> 
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="data" idColumn="id"> 
      <column label="ID" name="id" type="String" xid="default1"/>  
      <column label="巡检项目" name="project" type="String" xid="default2"/>  
      <column label="巡检结果" name="result" type="String" xid="xid2"/>  
      <data xid="default3">[{"id":"1","project":"消防栓","result":"正常"},{"id":"2","project":"消防车","result":"正常"}]</data> 
    </div> 
  </div>  
  <span component="$UI/system/components/justep/windowReceiver/windowReceiver"
    xid="windowReceiver" style="left:94px;top:30px;"/>  
  <span component="$UI/system/components/justep/windowDialog/windowDialog" xid="windowDialog1"
    style="left:24px;top:25px;"/>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"> 
    <div class="x-panel-top"> 
      <div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar"> 
        <div class="x-titlebar-left x-titlebar-title"> 
          <a component="$UI/system/components/justep/button/button" label=""
            class="btn btn-link btn-only-icon" icon="icon-chevron-left" xid="backBtn"
            style="width:111px;" onClick="backBtnClick"> 
            <i class="icon-chevron-left"/> 巡检填报
          </a> 
        </div> 
      </div> 
    </div>  
    <div class="x-panel-content"> 
      <div component="$UI/system/components/justep/row/row" class="x-row" style="padding:0 0 0 0;"> 
        <div class="col-xs-6"> 
          <label>巡检人</label>  
          <input component="$UI/system/components/justep/input/input" class="form-control"
            placeholder="请输入巡检人"/> 
        </div>  
        <div class="col-xs-6"> 
          <label>巡检时间</label>  
          <input component="$UI/system/components/justep/input/input" type="date"
            class="form-control" placeholder="请输入巡检时间"/> 
        </div> 
      </div>  
      <div component="$UI/system/components/justep/list/list" class="x-list"
        data="data" xid="list1" style="padding:0 0 0 0;margin-top:8px;"> 
        <!-- 使用Bootstrap样式定义表格 -->  
        <div component="$UI/system/components/justep/row/row" class="x-row"
          xid="row1" style="padding:0 0 0 0;"> 
          <div class="col-xs-6" xid="col1" bind-text="data.label('project')"
            style="font-weight:bold;"/>  
          <div class="col-xs-6" xid="col2" bind-text="data.label('result')"
            style="font-weight:bold;"/>
        </div>  
        <div class="x-list-template"> 
          <div component="$UI/system/components/justep/row/row" class="x-row"
            xid="row1" style="padding:0 0 0 0;margin-top:5px;"> 
            <div class="col-xs-6"> 
              <input component="$UI/system/components/justep/input/input" class="form-control"
                bind-ref="ref('project')"/> 
            </div>  
            <div class="col-xs-6"> 
              <input component="$UI/system/components/justep/input/input" class="form-control"
                bind-ref="ref('result')"/> 
            </div> 
          </div> 
        </div> 
      </div>  
      <div component="$UI/system/components/justep/row/row" class="x-row"> 
        <div class="col-xs-6"> 
          <label>巡检结论</label> 
        </div> 
      </div>  
      <div component="$UI/system/components/justep/row/row" class="x-row"> 
        <div class="col-xs-12"> 
          <select component="$UI/system/components/justep/select/select" class="form-control"
            xid="select1"> 
            <option>正常</option>  
            <option>异常</option> 
          </select> 
        </div> 
      </div>  
      <div component="$UI/system/components/justep/row/row" class="x-row"> 
        <div class="col-xs-6"> 
          <label>问题描述</label> 
        </div> 
      </div>  
      <div component="$UI/system/components/justep/row/row" class="x-row"> 
        <div class="col-xs-12"> 
          <textarea component="$UI/system/components/justep/textarea/textarea" class="form-control"
            xid="textarea1"/>
        </div> 
      </div>  
    </div> 
  </div> 
</div>
